package usts.cs2020.classreportsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import usts.cs2020.classreportsystem.domain.User;


@Mapper
public interface UserMapper extends BaseMapper<User> {

    //登录
    @Select("select * from `user` where account = #{act} and password = #{pwd};")
    User login(String act,String pwd);

}
